The StudyData class represents an instance of in-memory data used by the custom study. When custom study gets initialized through the init() function, it lets ActiveTick know how many sources it will be exposing as StudyData objects. Each time when custom study needs to be recalculated, it retrieves all of its in-memory StudyData object instances, and updates them according to its implementation. ActiveTick then uses these object instances to draw the actual plot data on the chart.
StudyData
clear() | The clear method deletes entire in-memory dataset for the given StudyData object instance. |
count() | The count method returns the number of data values inside StudyData object. |
get(index) | The get method returns a floating value for a given index. |
insert(index, floatValue) | The insert method inserts a new floating value at the specified index for the in-memory dataset of a given StudyData object. |
remove(index) | The remove method removes a value at a given index. |
set(index, floatValue) | The set method sets the value for a given index. |
update(index, floatValue) | The update method updates the value at a given index. |
Copyright © 2006-2009 ActiveTick LLC